#!/bin/bash

#Transference costs: V1113 V1115; Monitoring costs: V1116; Total cost: V1107 at light; V1133 at medium; V1159 at heavy

for i in `seq 1 70`; do
	tail -n 12 otimo_1_5_10/data_${i}.output | awk '{print $3, $1113, $1115}' > otimo_1_5_10/receipt_${i}.output
done

#Transference costs: V1113 V1115; Monitoring costs: V1116; Total cost: V1107 at light; V1133 at medium; V1159 at heavy

for i in `seq 1 70`; do
	tail -n 12 otimo_5_10_50/data_${i}.output | awk '{print $3, $1113, $1115}' > otimo_5_10_50/receipt_${i}.output
done

#Transference costs: V563, V565; Monitoring costs: V566

#for i in `seq 100 170`; do
#	tail -n 12 ut_50_10/data_${i}.output | awk '{print $3, $563, $565}' > /home/davidcmm/results_dissertacao/otimo/receipt_50_${i}.output
#done

#Transferecen costs: V123, V125; Monitoring costs: V126

#for i in `seq 200 270`; do
#	tail -n 12 ut_10_10/data_${i}.output | awk '{print $3, $123, $125}' > /home/davidcmm/results_dissertacao/otimo/receipt_10_${i}.output
#done

